package com.yuanqunsoft.alimigration.service;

import java.util.List;

import com.yuanqunsoft.alimigration.bean.ReportBean;
import com.yuanqunsoft.alimigration.dao.support.Page;
import com.yuanqunsoft.alimigration.model.Report;

public interface IReportService {

    public ReportBean findById(int id);

    public List<?> findByApplicationId(int applicationId);

    public boolean addReport(Report instance);

    public boolean deleteReport(int id);

    public List<?> getAll();

    public List<?> Query(String filters, String orders, Object... values);

    public Page<ReportBean> pageQuery(int startNo, int pageSize, String filters, String orders, Object... values);

    public boolean isNameExisted(String name);
    
    public boolean deleteByApplicationId(Integer appId);
    
}
